package com.gpnu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {

    private int code; //0:success 1:fail
    private String msg; //错误信息
    private int count; //总记录数
    private List<T> data;

}
